LEADTOOLS Image File Support (Leadtools.Codecs assembly)
LEAD Technologies, Inc

WriteMarkersAsync(ILeadStream,Int32,IVectorView<RasterMarkerMetadata>) Method






A Leadtools.ILeadStream containing the output file data.
1-based index of the page at which to write the marker.
A collection of Leadtools.RasterMarkerMetadata objects that contains the marker data.
Writes one or more markers to an existing stream. .NET support WinRT support
Syntax
public IAsyncAction WriteMarkersAsync( 
   ILeadStream stream,
   int pageNumber,
   IVectorView<RasterMarkerMetadata> markers
)
'Declaration
 
Public Overloads Function WriteMarkersAsync( _
   ByVal stream As ILeadStream, _
   ByVal pageNumber As Integer, _
   ByVal markers As IVectorView(Of RasterMarkerMetadata) _
) As IAsyncAction
'Usage
 
Dim instance As RasterCodecs
Dim stream As ILeadStream
Dim pageNumber As Integer
Dim markers As IVectorView(Of RasterMarkerMetadata)
Dim value As IAsyncAction
 
value = instance.WriteMarkersAsync(stream, pageNumber, markers)
public IAsyncAction WriteMarkersAsync( 
   ILeadStream stream,
   int pageNumber,
   IVectorView<RasterMarkerMetadata> markers
)
 function Leadtools.Codecs.RasterCodecs.WriteMarkersAsync(ILeadStream,Int32,IVectorView{RasterMarkerMetadata})( 
   stream ,
   pageNumber ,
   markers 
)
public:
IAsyncAction^ WriteMarkersAsync( 
   ILeadStream^ stream,
   int pageNumber,
   IVectorView<RasterMarkerMetadata^>^ markers
) 

Parameters

stream
A Leadtools.ILeadStream containing the output file data.
pageNumber
1-based index of the page at which to write the marker.
markers
A collection of Leadtools.RasterMarkerMetadata objects that contains the marker data.
Remarks

For Exif files, this metadata collection will contain all the Exif and GPS comments, stored in APP1. It will also contain the audio information stored in APP2.

Example
For an example, refer to WriteMarker(String,Int32,RasterMarkerMetadata).
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RasterCodecs Class
RasterCodecs Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.